package tt.dz.tcp.rpc.ms.client.entity;

import java.io.Serializable;
import java.util.List;
/**
 * 主服务器返回成功信息
 * @author Administrator
 *
 */
public class MasterLoginResult implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -372694800915509496L;
	
//	{"isSuccess":1,"roleList":[{"roleId":"adminRole","roleName":"admin管理员"}],"userId":"201610001"}
//	{"userId":"11012016012700000140","userName":"企业用户测试","isSuccess":1,"userType":1}
	private int isSuccess;
	private String userId;
	private List<MasterRole> roleList;
	private String userName;
	private int userType; 
	
	private String errorMsg;
	public int getIsSuccess() {
		return isSuccess;
	}
	public void setIsSuccess(int isSuccess) {
		this.isSuccess = isSuccess;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public List<MasterRole> getRoleList() {
		return roleList;
	}
	public void setRoleList(List<MasterRole> roleList) {
		this.roleList = roleList;
	}
	public String getErrorMsg() {
		return errorMsg;
	}
	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public int getUserType() {
		return userType;
	}
	public void setUserType(int userType) {
		this.userType = userType;
	}
}
